Devise secret key env variable

jamesperet 9 years ago
parent
commit
d678c73d07
1 changed files with 1 additions and 1 deletions
  1. 1 1
      config/initializers/devise.rb

+ 1 - 1
config/initializers/devise.rb

@@ -4,7 +4,7 @@ Devise.setup do |config|
4 4
   # The secret key used by Devise. Devise uses this key to generate
5 5
   # random tokens. Changing this key will render invalid all existing
6 6
   # confirmation, reset password and unlock tokens in the database.
7
-  # config.secret_key = '50e30827b76a62a2b2ab7795d9efe46f82622fd6191484860f76b0312cd4c217cf0bc238ac53670e732852a2c1044d392ade3ada93afd2a92bb57d0d32628241'
7
+  config.secret_key = ENV['DEVISE_SECRET_KEY']
8 8
 
9 9
   # ==> Mailer Configuration
10 10
   # Configure the e-mail address which will be shown in Devise::Mailer,